<!DOCTYPE html>
<html lang="ch-CN">
<head>
    <meta charset="UTF-8">
    <title>选择语句-输出星期几</title>
</head>
<style>
    * {
        font-size: 30px;
        text-decoration: none;
    }
</style>
<script>
    alert("请输入星期几(例如：星期一)！输出对应的星期几！！")
    let text = prompt("请输入星期几！！")
    switch (text) {
        case "星期一":
            document.write("Monday");
            break;
        case "星期二":
            document.write("Tuesday");
            break;

        case "星期三":
            document.write("Wednesday");
            break;

        case "星期四":
            document.write("Thursday");
            break;

        case "星期五":
            document.write("Friday");
            break;

        case "星期六":
            document.write("Saturday");
            break;

        case "星期七":
            document.write("Sunday");
            break;
        default:
            alert("请输入合法的内容！！")
    }
</script>
<body>
</body>
</html>